<script lang="ts" setup>
import { useRouter } from 'vue-router';
import dataScreen from './components/data-screen.vue';

const router = useRouter();
</script>

<template>
  <umrp-row style="height: 100%">
    <umrp-col :span="18" style="height: 100%;">
      <umrp-viewport>
        <data-screen></data-screen>
      </umrp-viewport>
    </umrp-col>
    <umrp-col :span="6">
      <umrp-button type="primary" outline @click="router.push({ name: 'ActivityDataScreenPreview' })">网页预览</umrp-button>
    </umrp-col>
  </umrp-row>
</template>